import Taro from '@tarojs/taro'
import {Image, View} from '@tarojs/components'
import './index.scss'

export default function NoData({ desc = '暂无数据' }) {
  return (
    <View className='container'>
      <Image
        className='img'
        src={require('../../assets/empty@2x.png')}
      />
      <View className='text'>{desc}</View>
    </View>
  )
}

